package com.markerhub.exception.apiException.authenticationException;

import com.markerhub.constant.ApiExceptionCodes;
import com.markerhub.exception.apiException.AuthenticationException;

/**
 * token校验的异常类
 *
 * @author Ma Xiaofeng
 * @date : Created in 2021/12/08
 **/
public class TokenCheckException extends AuthenticationException {
    //TOKEN_CHECK_FAIL(102, "token校验失败！")
    public TokenCheckException() {
        super(ApiExceptionCodes.TOKEN_CHECK_FAIL.getValue(),ApiExceptionCodes.TOKEN_CHECK_FAIL.getDesc());
    }

    public TokenCheckException(String message) {
        super(ApiExceptionCodes.TOKEN_CHECK_FAIL.getValue(),message);
    }
}
